Telegram Group & Telegram Channel
❇️ اسکریپت Lua سمت فرستنده
count = 0

-- set uart0 with 1200 baud rate, 8 databits, no pariy, 1 stop bit with echo

uart.setup(0,1200,8,0,1,1)

while true do -- continuous send count
print(count)
count = count + 1

tmr.delay(1000000)
end

❇️ اسکریپت Lua سمت گیرنده

-- set uart0 with 1200 baud rate, 8 databits, no pariy, 1 stop bit with echo

uart.setup(0,1200,8,0,1,1)


--print received data

uart.on("data", "\n", function(data) print("receive from uart:", data) end, 0)

🔰 @micropython_iot



tg-me.com/micropython_iot/83
Create:
Last Update:

❇️ اسکریپت Lua سمت فرستنده
count = 0

-- set uart0 with 1200 baud rate, 8 databits, no pariy, 1 stop bit with echo

uart.setup(0,1200,8,0,1,1)

while true do -- continuous send count
print(count)
count = count + 1

tmr.delay(1000000)
end

❇️ اسکریپت Lua سمت گیرنده

-- set uart0 with 1200 baud rate, 8 databits, no pariy, 1 stop bit with echo

uart.setup(0,1200,8,0,1,1)


--print received data

uart.on("data", "\n", function(data) print("receive from uart:", data) end, 0)

🔰 @micropython_iot

BY Micropython & IOT


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/micropython_iot/83

View MORE
Open in Telegram


Micropython & IOT Telegram | DID YOU KNOW?

Date: |

Traders also expressed uncertainty about the situation with China Evergrande, as the indebted property company has not provided clarification about a key interest payment.In economic news, the Commerce Department reported an unexpected increase in U.S. new home sales in August.Crude oil prices climbed Friday and front-month WTI oil futures contracts saw gains for a fifth straight week amid tighter supplies. West Texas Intermediate Crude oil futures for November rose $0.68 or 0.9 percent at 73.98 a barrel. WTI Crude futures gained 2.8 percent for the week.

Telegram announces Search Filters

With the help of the Search Filters option, users can now filter search results by type. They can do that by using the new tabs: Media, Links, Files and others. Searches can be done based on the particular time period like by typing in the date or even “Yesterday”. If users type in the name of a person, group, channel or bot, an extra filter will be applied to the searches.

Micropython & IOT from ar


Telegram Micropython & IOT
FROM USA